﻿using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Net;
using System.Text;
using System.Threading.Tasks;

namespace UDPHelper
{
    public class UDPPackage
    {
        /// <summary>
        /// 数据头
        /// </summary>
        public Dictionary<string, string> Header { get; set; }

        /// <summary>
        /// 数据内容
        /// </summary>
        public object Body { get; set; }

        /// <summary>
        /// IP地址
        /// </summary>
        public IPAddress IPAddress { get; set; }

        /// <summary>
        /// 对应端口号
        /// </summary>
        public int Port { get; set; }
    }
}
